<script src="/static/home/js/main.js"></script>
{foreach $list_datas as $val}
<article class="grid_3 article">
    <img class="sale" src="/static/home/img/sale.png" alt="Sale">
    <div class="prev">
        <a href="/lists/detail/id/{$val['id']}">
            <img src="{$val['goods_pic']}" alt="Product 1" title="">
        </a>
    </div><!-- .prev -->

    <h3 class="title">{$val['goods_name']}</h3>
    <div class="cart">
        <div class="price">
            <div class="vert">
               ${$val['goods_price']}
                <!--<div class="price_old">$725.00</div>-->
            </div>
        </div>
        <a href="#" class="obn"></a>
        <a href="#" class="like"></a>
        <a href="javascript:;" class="bay" id="cart" onclick="to_collections('/collections/add/id/{$val.id}')">
            <img src="/static/home/img/bg_cart.png" alt="Buy" title="添加收藏">
        </a>
        <a href="#" class="like"></a>
        <a href="javascript:;" class="bay" id="cart" onclick="to_collections('/collections/add/id/{$val.id}')">
            <img src="/static/home/img/bg_timg.png" alt="Buy" title="添加收藏">
        </a>
    </div><!-- .cart -->
</article><!-- .grid_3.article -->
{/foreach}